package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/13  14:27
// TOOLS : GoLand
// FILENAME : arrayAsParams.go
// STATEMENT: 数组作为参数传递

func main() {
	var nums [3]int = [3]int{32, 54, 12}
	getInfo(nums)
}

func getInfo(arr [3]int) {
	for _, i2 := range arr {
		fmt.Println(i2)
	}
}
